
/**
 * Created by chenwenxiao on 2016/9/19.
 * 基础样式，包括对齐、位置修正等内容
 */
@import "../config.less";

ul,ol{
    margin: 0;
    padding: 0;
}

ul li{
    list-style: none;
}

/*清除浮动*/
.clear {
    zoom:1;
}

.clear::after,.clear::before
{
    content:" ";
    visibility:hidden;
    display:block;
    clear:both;
    height:0;
    font-size:0;
}

/*文本移除设置*/
.ellipsis {
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}

/*文本对齐方式*/
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}

/*元素属性处理*/
.hm{
    margin: 0 auto;
}
.vm,.vm *{
    vertical-align: middle;
}
.vt{
    vertical-align: top;
}
.vb{
    vertical-align: bottom;
}
.vbi{
    vertical-align: baseline;
}
.db{
    display: block;
}
.ilb{
    display: inline-block;
}
.il{
    display: inline;
}
.hide{
    display: none;
}
.unShow{
    visibility: hidden;
}
.show{
    visibility: visible;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.bold{
    font-weight: bold;
}

/*宽度设置百分比*/
.w-10{
    width: 10%!important;
}
.w-20{
    width: 20%!important;
}
.w-30{
    width: 30%!important;
}
.w-40{
    width: 40%!important;
}
.w-50{
    width: 50%!important;
}
.w-60{
    width: 60%!important;
}
.w-70{
    width: 70%!important;
}
.w-80{
    width: 80%!important;
}
.w-90{
    width: 90%!important;
}
.w-100{
    width: 100%!important;
}

/*容器*/
.container{
    width: @media-large;
    margin: 0 auto;
}
@media (max-width: @media-large){
    .container{
        width: 100%;
    }
}
body{
    font-size: @font-small;
    font-family: 微软雅黑;
    color: @color-333;
}
body img{
    width: 100%;
}

/*帮助信息*/
.helps pre{
    padding:20px;
    margin:10px 0;
    border:solid 1px #e7e1cd;
    background-color: #fffdef;
    overflow: auto;
}

/*用户体验方面*/
.hand {
    cursor: pointer;
}
.arrow {
    cursor: default;
}
.notAllowed {
    cursor: not-allowed;
}
.wait {
    cursor: wait;
}